package huanzhao.erp.domain.types;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author April
 * 2024/10/4 10:31
 * @version 1.0
 */
@Getter
public enum PackageType {
    PURCHASE_RECEIVE("采购收货"),
    PURCHASE_RETURN("采购退货"),
    REPAIR_SHIP("送修发货"),
    REPAIR_RECEIVE("送修收货"),
    SALES_SHIP("销售发货"),
    SALES_RETURN("销售退货"),
    AFTER_SALES_RECEIVE("售后收货"),
    AFTER_SALES_SHIP("售后发货");


    @EnumValue
    @JsonValue
    private final String value;

    PackageType(String value) {
        this.value = value;
    }
}
